﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="FortuneHeaven.Admin.Pages.NetBar.Edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
        .style1
        {
            width: 75px; height:30px; text-align:right;
        }  
        .style2
        {
            text-align:left; padding-left:10px;
        }     
    </style>
        <script src="../../Common/Js/Calendar.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:Panel ID="pnlMain" runat="server" CssClass="pnlMain">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
            <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label1" runat="server" Text="网吧名："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="NetBarName" runat="server" Width="250px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="NetBarName"
                        Display="None" ErrorMessage="请输入网吧名" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label4" runat="server" 
                        Text="联系人："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Contacts" runat="server" Width="250px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Contacts"
                        Display="None" ErrorMessage="请输入联系人" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label6" runat="server" 
                        Text="联系电话:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Telephone" runat="server" Width="250px" 
                        CssClass="txt"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Telephone"
                        Display="None" ErrorMessage="请输入联系电话" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr >
                <td class="style1">
                    <asp:Label ID="Label3" runat="server" 
                        Text="地址："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Address" runat="server" CssClass="txt" Width="250px"></asp:TextBox>
                </td>
            </tr>      
             <tr>
                <td class="style1">
                    <asp:Label ID="Label5" runat="server" 
                        Text="生效日期："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="EffectiveDate" runat="server" Width="110px" CssClass="txt"></asp:TextBox>                    
                    到 
                    <asp:TextBox ID="ExpirationDate" runat="server" CssClass="txt" Width="110px"></asp:TextBox>
                    
                </td>
            </tr> 
            <tr>
                <td class="style1">状态：</td>
                <td class="style2">
                    <asp:DropDownList ID="drpStatus" runat="server">
                    </asp:DropDownList>                  
                </td>
            </tr>           
            
        </table>
    </asp:Panel>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowSummary="False"
        ShowMessageBox="True"></asp:ValidationSummary>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />
</asp:Content>
